﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeacherEdit.aspx.cs" Inherits="无线打分网站.Manage.TeacharEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>教师信息编辑</title>
    <script type="text/javascript">
        function closewindow() {
            window.close();
        }
        function GetDataAndClose() {
            var array = new Array(1);
            if (window.opener != undefined) {
                window.opener.returnValue = array;
            }
            else {
                window.returnValue = array;
            }
            window.close();
            //closewindow();
        }
    </script>
    <base target="_self"/>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <table class="style1">
            <tr>
                <td align="right" width="50%">
                    用户名</td>
                <td colspan="3">
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="TextBox2" ErrorMessage="用户名不能为空" ForeColor="#CC3300"> * 用户名不能为空</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    教师姓名</td>
                <td colspan="3">
                    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                    &nbsp;<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="TextBox1" ErrorMessage="教师姓名不能为空" ForeColor="#CC3300"> * 教师姓名不能为空</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" width="50%" rowspan="3">
                    课程信息</td>
                <td>
                    已有课程</td>
                <td>
                    &nbsp;</td>
                <td>
                    现有课程</td>
            </tr>
            <tr>
                <td rowspan="2">
                    <asp:ListBox ID="ListBox1" runat="server" Height="190px" Width="183px">
                    </asp:ListBox>
                </td>
                <td>
                    <asp:Button ID="Button5" runat="server" Text="&lt;---" 
                        onclick="Button5_Click" />

                </td>
                <td rowspan="2">
                    <asp:ListBox ID="ListBox2" runat="server" Height="190px" Width="183px">
                    </asp:ListBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Button ID="Button6" runat="server" onclick="Button6_Click" 
                        Text="---&gt;" />

                </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    &nbsp;</td>
                <td colspan="3">
                    <asp:Button ID="Button1" runat="server" Text="密码重置为888888" 
                        onclick="Button1_Click" />
                 </td>
            </tr>
            <tr>
                <td align="right" width="50%">
                    <asp:Button ID="Button3" runat="server" style="margin-left: 0px" Text="确定" 
                        Width="66px" onclick="Button3_Click" />
                </td>
                <td colspan="3">
                    <asp:Button ID="Button4" runat="server" Text="取消" Width="74px" 
                        onclientclick="closewindow();" CausesValidation="False" />
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
